{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{% translate "Correct or cancel a gift" %}{% endblock %} {% block content %}

{% translate "Correct or cancel a gift" %}

{% blocktranslate trimmed with name=contact.name who=gift.recorded_by.display_name|default:"—" when=gift.created_at|date:"j M Y, H:i" %}From {{ name }}, recorded by {{ who }} on {{ when }}. Both a correction and a cancellation need a reason, and both go in the activity log.{% endblocktranslate %}

{% translate "Back" %}
{% csrf_token %} {% if form.errors %}
{% for e in form.non_field_errors %}{{ e }} {% empty %}{% translate "Some details need fixing. Look for the red notes below." %}{% endfor %}
{% endif %}

{% translate "Correct the details" %}

{% include "crm/_gift_fields.html" with form=form %}

{% translate "Cancel this gift" %}

{% translate "For a gift that was never sent, or was recorded twice. It stays on record, struck through, but no longer counts in any total, and its transaction ID can be used again. This can’t be undone." %}

{% csrf_token %} {% include "_field.html" with field=cancel_form.reason wide=True %}
{% endblock %}